package cn.hanyx.coder.design.pattern.structural.bridge.demo02.notify;

import cn.hanyx.coder.design.pattern.structural.bridge.demo02.sender.MsgSender;

/**
 * Notification
 *
 * @author hanyx
 * @date 2020/05/19
 */
public abstract class Notification02 {
    protected MsgSender msgSender;

    public Notification02(MsgSender msgSender) {
        this.msgSender = msgSender;
    }

    public abstract void notify(String msg);
}
